package com.weixing.mall.provider.model.vo.report.market;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.weixing.mall.provider.api.model.enums.OrderTypeEnum;
import com.weixing.mall.provider.support.excel.EnumConverter.OrderTypeConverter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author jzy
 * @date 2020/5/11
 */
@Data
@ApiModel(value="MarketAgentDataAnalysisVo", description="市场部-代理数据分析")
public class MarketAgentDataAnalysisVo {
    @ApiModelProperty(value = "所属客服Id")
    @ExcelIgnore
    private Long customerId;
    @ApiModelProperty(value = "代理商Id")
    @ExcelIgnore
    private Long agentId;
    @ApiModelProperty(value = "活动Id")
    @ExcelIgnore
    private Long actId;
    @ApiModelProperty(value = "角色类型 1客服  2代理商 --修改")
    @ExcelIgnore
    private Integer roleType;
    @ApiModelProperty(value = "所属客服名称")
    @ExcelIgnore
    private String customerName;

    @ApiModelProperty(value = "日期--修改")
    @ExcelProperty("日期")
    private String date;
    @ApiModelProperty(value = "代理商名称")
    @ExcelProperty("代理商名称")
    private String agentName;
    @ApiModelProperty(value = "订单类型")
    @ExcelProperty(value = "订单类型",converter = OrderTypeConverter.class)
    private OrderTypeEnum orderType;
    @ApiModelProperty(value = "活动名称")
    @ExcelProperty("活动名称")
    private String actName;
    @ApiModelProperty(value = "个人销售总量--修改")
    @ExcelProperty("个人销售总量")
    private Integer quantity;
    @ApiModelProperty(value = "个人销售总额(包括退货，断货，取消的)--修改")
    @ExcelProperty("个人销售总额")
    private BigDecimal amount;
    @ApiModelProperty(value = "团队销售总量--修改")
    @ExcelProperty("团队销售总量")
    private Integer quantityTeam;
    @ApiModelProperty(value = "团队销售总额(包括退货，断货，取消的)--修改")
    @ExcelProperty("团队销售总额")
    private BigDecimal amountTeam;
    @ApiModelProperty(value = "个人退货数量--修改")
    @ExcelProperty("个人退货数量")
    private Integer returnQuantity ;
    @ApiModelProperty(value = "个人退货总额--修改")
    @ExcelProperty("个人退货总额")
    private BigDecimal returnAmount;
    @ApiModelProperty(value = "团队退货数量--修改")
    @ExcelProperty("团队退货数量")
    private Integer returnQuantityTeam;
    @ApiModelProperty(value = "团队退货总额--修改")
    @ExcelProperty("团队退货总额")
    private BigDecimal returnAmountTeam;
    @ApiModelProperty(value = "个人断货数量--修改")
    @ExcelProperty("个人断货数量")
    private Integer stockoutQuantity;
    @ApiModelProperty(value = "个人断货总额--修改")
    @ExcelProperty("个人断货总额")
    private BigDecimal stockoutAmount;
    @ApiModelProperty(value = "团队断货数量--修改")
    @ExcelProperty("团队断货数量")
    private Integer stockoutQuantityTeam;
    @ApiModelProperty(value = "团队断货总额--修改")
    @ExcelProperty("团队断货总额")
    private BigDecimal stockoutAmountTeam;
    @ApiModelProperty(value = "个人取消数量--修改")
    @ExcelProperty("个人取消数量")
    private Integer cancelQuantity;
    @ApiModelProperty(value = "个人取消金额--修改")
    @ExcelProperty("个人取消金额")
    private BigDecimal cancelAmount;
    @ApiModelProperty(value = "团队取消数量--修改")
    @ExcelProperty("团队取消数量")
    private Integer cancelQuantityTeam;
    @ApiModelProperty(value = "团队取消金额--修改")
    @ExcelProperty("团队取消金额")
    private BigDecimal cancelAmountTeam;
    @ApiModelProperty(value = "个人退货率（金额）--修改")
    @ExcelProperty("个人退货率（金额")
    private BigDecimal refundAmountRate;
    @ApiModelProperty(value = "个人退货率（件数）--修改")
    @ExcelProperty("个人退货率（件数）")
    private BigDecimal refundRate;
    @ApiModelProperty(value = "团队退货率（金额）--修改")
    @ExcelProperty("团队退货率（金额）")
    private BigDecimal refundAmountRateTeam;
    @ApiModelProperty(value = "团队退货率（件数）--修改")
    @ExcelProperty("团队退货率（件数）")
    private BigDecimal refundRateTeam;
    @ApiModelProperty(value = "团队广告数量--修改")
    @ExcelProperty("团队广告数量")
    private Integer adsQuantityTeam;
    @ApiModelProperty(value = "团队广告金额--修改")
    @ExcelProperty("团队广告金额")
    private BigDecimal adsAmountTeam;
    @ApiModelProperty(value = "打广告人数--修改")
    @ExcelProperty("打广告人数")
    private BigDecimal adsPeopleQuantity;
    @ApiModelProperty(value = "销售人数，（团队下的参与销售的人数）--修改")
    @ExcelProperty("销售人数")
    private Integer salesPeople;
    @ApiModelProperty(value = "人均销售数量--修改")
    @ExcelProperty("人均销售数量")
    private BigDecimal avgSalesPeople;
    @ApiModelProperty(value = "人均销售金额--修改")
    @ExcelProperty("人均销售金额")
    private BigDecimal avgSalesAmount;
    @ApiModelProperty(value = "代理总人数--修改")
    @ExcelProperty("代理总人数")
    private Integer totalAgents;
    @ApiModelProperty(value = "试用代理人数--修改")
    @ExcelProperty("试用代理人数")
    private Integer probationerAgents;
    @ApiModelProperty(value = "代理缴费人数--修改")
    @ExcelProperty("代理缴费人数")
    private Integer paidAgents;
    @ApiModelProperty(value = "代理不续费人数--修改")
    @ExcelProperty("代理不续费人数")
    private Integer noRenewAgents;
    @ApiModelProperty(value = "代理退费人数--修改")
    @ExcelProperty("代理退费人数")
    private Integer refundAgents;
    @ApiModelProperty(value = "会员人数--修改")
    @ExcelProperty("会员人数")
    private Integer members;
    @ApiModelProperty(value = "由会员变为代理人数--修改")
    @ExcelProperty("由会员变为代理人数")
    private Integer memberToAgents;
    @ApiModelProperty(value = "直接银级人数--修改")
    @ExcelProperty("直接银级人数")
    private Integer directSilvers;
    @ApiModelProperty(value = "间接银级人数--修改")
    @ExcelProperty("间接银级人数")
    private Integer indirectSilvers;
    @ApiModelProperty(value = "有利益挂钩银级人数--修改")
    @ExcelProperty("有利益挂钩银级人数")
    private Integer benefitSilvers;
    @ApiModelProperty(value = "团队裂变出来的银级总数--修改")
    @ExcelProperty("团队裂变出来的银级总数")
    private Integer totalSilvers;
    @ApiModelProperty(value = "晋升为一级代理人数（三角晋升链条）--修改")
    @ExcelProperty("晋升为一级代理人数")
    private Integer toFirstLevels;
    @ApiModelProperty(value = "盈利（代理获得的个人利润加个人获得团队的利润）--修改")
    @ExcelProperty("盈利")
    private BigDecimal profit;
    @ApiModelProperty(value = "正价银级返还款--修改")
    @ExcelProperty("正价银级返还款")
    private BigDecimal regularRebate;
    @ApiModelProperty(value = "代理商活动银级返还款--修改")
    @ExcelProperty("代理商活动银级返还款")
    private BigDecimal agentRebate;
    @ApiModelProperty(value = "秒杀活动银级返还款--修改")
    @ExcelProperty("秒杀活动银级返还款")
    private BigDecimal seckillRebate;
    @ApiModelProperty(value = "个人广告数量--修改")
    @ExcelProperty("个人广告数量")
    private Integer adsQuantity;
    @ApiModelProperty(value = "个人广告金额--修改")
    @ExcelProperty("个人广告金额")
    private BigDecimal adsAmount;
    @ApiModelProperty(value = "营收利润")
    @ExcelProperty("营收利润")
    private BigDecimal revenues;
    @ApiModelProperty(value = "实际利润")
    @ExcelProperty("实际利润")
    private BigDecimal actualRevenues;
}
